package com.zd.entity;

import java.util.Date;

public class NovelAndCollection {
	private int novelId;//用户Id
	private String novelName;//小说名
	private String writerName;//作者
	private String novelImgURL;//书图链接
	private String novelType1;//类型1
	private String novelIntroduction;//简介
	private int hits;//
	private Date releaseTime;//发布时
	private int isCollection;//是否收藏
	public NovelAndCollection() {
		super();
	}
	public NovelAndCollection(int novelId, String novelName, String writerName, String novelImgURL, String novelType1,
			String novelIntroduction, int hits, Date releaseTime, int isCollection) {
		super();
		this.novelId = novelId;
		this.novelName = novelName;
		this.writerName = writerName;
		this.novelImgURL = novelImgURL;
		this.novelType1 = novelType1;
		this.novelIntroduction = novelIntroduction;
		this.hits = hits;
		this.releaseTime = releaseTime;
		this.isCollection = isCollection;
	}
	public int getNovelId() {
		return novelId;
	}
	public void setNovelId(int novelId) {
		this.novelId = novelId;
	}
	public String getNovelName() {
		return novelName;
	}
	public void setNovelName(String novelName) {
		this.novelName = novelName;
	}
	public String getWriterName() {
		return writerName;
	}
	public void setWriterName(String writerName) {
		this.writerName = writerName;
	}
	public String getNovelImgURL() {
		return novelImgURL;
	}
	public void setNovelImgURL(String novelImgURL) {
		this.novelImgURL = novelImgURL;
	}
	public String getNovelType1() {
		return novelType1;
	}
	public void setNovelType1(String novelType1) {
		this.novelType1 = novelType1;
	}
	public String getNovelIntroduction() {
		return novelIntroduction;
	}
	public void setNovelIntroduction(String novelIntroduction) {
		this.novelIntroduction = novelIntroduction;
	}
	public int getHits() {
		return hits;
	}
	public void setHits(int hits) {
		this.hits = hits;
	}
	public Date getReleaseTime() {
		return releaseTime;
	}
	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}
	public int getIsCollection() {
		return isCollection;
	}
	public void setIsCollection(int isCollection) {
		this.isCollection = isCollection;
	}
	@Override
	public String toString() {
		return "NovelAndCollection [novelId=" + novelId + ", novelName=" + novelName + ", writerName=" + writerName
				+ ", novelImgURL=" + novelImgURL + ", novelType1=" + novelType1 + ", novelIntroduction="
				+ novelIntroduction + ", hits=" + hits + ", releaseTime=" + releaseTime + ", isCollection="
				+ isCollection + "]";
	}
	
}
